﻿using System.Data.Entity;
using IceDog.DNF.Program.Ef6.Models;

namespace IceDog.DNF.Program.Ef6.EfContext
{
    /// <summary>
    /// 
    /// </summary>
    public class OrderContext:DbContext
    {
        public OrderContext()
        {
            
        }
        public OrderContext(string connectionName) : base(connectionName)
        {

        }
        public DbSet<Order> Orders { get; set; }

        public DbSet<OrderDetail> OrderDetails { get; set; }
    }
}
